package com.example.tool.erp.sdk.api.setting.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;

public class VirtualWarehouseTradeCreateRequest
{
	public static class Order
	{
		@SerializedName("virtual_warehouse_no") private String virtualWarehouseNo;
		@SerializedName("is_pre_check") private Integer isPreCheck;
		@SerializedName("insufficient_stock_not_pre_check") private Integer insufficientStockNotPreCheck;
		@SerializedName("remark") private String remark;
		@SerializedName("is_check") private Integer isCheck;
		@SerializedName("to_virtual_warehouse_no") private String toVirtualWarehouseNo;
		@SerializedName("order_type") private Byte orderType;
		@SerializedName("pre_time") private String preTime;

		public String getVirtualWarehouseNo()
		{
			return virtualWarehouseNo;
		}

		public void setVirtualWarehouseNo(String virtualWarehouseNo)
		{
			this.virtualWarehouseNo = virtualWarehouseNo;
		}

		public Integer getIsPreCheck()
		{
			return isPreCheck;
		}

		public void setIsPreCheck(Integer isPreCheck)
		{
			this.isPreCheck = isPreCheck;
		}

		public Integer getInsufficientStockNotPreCheck()
		{
			return insufficientStockNotPreCheck;
		}

		public void setInsufficientStockNotPreCheck(Integer insufficientStockNotPreCheck)
		{
			this.insufficientStockNotPreCheck = insufficientStockNotPreCheck;
		}

		public String getRemark()
		{
			return remark;
		}

		public void setRemark(String remark)
		{
			this.remark = remark;
		}

		public Integer getIsCheck()
		{
			return isCheck;
		}

		public void setIsCheck(Integer isCheck)
		{
			this.isCheck = isCheck;
		}

		public String getToVirtualWarehouseNo()
		{
			return toVirtualWarehouseNo;
		}

		public void setToVirtualWarehouseNo(String toVirtualWarehouseNo)
		{
			this.toVirtualWarehouseNo = toVirtualWarehouseNo;
		}

		public Byte getOrderType()
		{
			return orderType;
		}

		public void setOrderType(Byte orderType)
		{
			this.orderType = orderType;
		}

		public String getPreTime()
		{
			return preTime;
		}

		public void setPreTime(String preTime)
		{
			this.preTime = preTime;
		}
	}

	public static class Detail
	{
		@SerializedName("purchase_num") private BigDecimal purchaseNum;
		@SerializedName("warehouse_no") private String warehouseNo;
		@SerializedName("factory_num") private BigDecimal factoryNum;
		@SerializedName("price") private BigDecimal price;
		@SerializedName("num") private BigDecimal num;
		@SerializedName("spec_no") private String specNo;

		public BigDecimal getPurchaseNum()
		{
			return purchaseNum;
		}

		public void setPurchaseNum(BigDecimal purchaseNum)
		{
			this.purchaseNum = purchaseNum;
		}

		public String getWarehouseNo()
		{
			return warehouseNo;
		}

		public void setWarehouseNo(String warehouseNo)
		{
			this.warehouseNo = warehouseNo;
		}

		public BigDecimal getFactoryNum()
		{
			return factoryNum;
		}

		public void setFactoryNum(BigDecimal factoryNum)
		{
			this.factoryNum = factoryNum;
		}

		public BigDecimal getPrice()
		{
			return price;
		}

		public void setPrice(BigDecimal price)
		{
			this.price = price;
		}

		public BigDecimal getNum()
		{
			return num;
		}

		public void setNum(BigDecimal num)
		{
			this.num = num;
		}

		public String getSpecNo()
		{
			return specNo;
		}

		public void setSpecNo(String specNo)
		{
			this.specNo = specNo;
		}
	}
}
